//
//  BallButton.h
//  K8彩票
//
//  Created by zyn on 2017/6/8.
//  Copyright © 2017年 zhoubo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "Config.h"

@protocol OnClickBallCallback <NSObject>

-(void)onClickBall;

@end

@interface BallButton : UIButton
{
    NSInteger typeball;
}

@property(nonatomic,assign) BOOL isSelect; // 当前小球是否被选中
@property (nonatomic,weak) id <OnClickBallCallback> callback;

- (instancetype)initWithNumber:(NSInteger) number type:(NSInteger )type;
-(instancetype)initWithNumber:(NSInteger)number superView:(UIView *)superView;

@end
